# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Simon Lipp <sloonz+aur@gmail.com>

pkgname=java-xmlgraphics-commons
pkgver=2.9
pkgrel=1
pkgdesc='Common components between FOP and Batik'
arch=('any')
url='https://xmlgraphics.apache.org/commons/'
license=('Apache')
depends=('java-runtime>=9')
source=("https://www.apache.org/dist/xmlgraphics/commons/binaries/xmlgraphics-commons-$pkgver-bin.tar.gz"{,.asc})
sha512sums=('66b88bc2d2b80f119e0588fd514ebd08b60d281d4f11ed671181ed501d442806eeec2a0edd94f559d38a26c2cc3f20513065208f5055b0d915b78682ede62e64'
            'SKIP')
validpgpkeys=('5C9A30FF22B2C02F30261C305B93F1DF7CDB6DEA') # Simon Steiner

package() {
  install -Dm 644 "$srcdir"/xmlgraphics-commons-$pkgver/build/xmlgraphics-commons-$pkgver.jar "$pkgdir"/usr/share/java/xmlgraphics-commons/xmlgraphics-commons.jar
}
